package org.example.carsystem.domain;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import org.springframework.format.annotation.DateTimeFormat;

import java.io.Serializable;
import java.util.Date;

@Data
@NoArgsConstructor
@AllArgsConstructor
public class SysPost implements Serializable {
        /**岗位ID*/
        private Integer postId;
        /**岗位编码*/
        private String postCode;
        /**岗位名称*/
        private String postName;
        /**显示顺序*/
        private Integer postSort;
        /**状态（0正常 1停用）*/
        private String status;
        /**创建者*/
        private String createBy;
        /**创建时间*/
        @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss",timezone ="GMT+8")
        @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
        private Date createTime;
        /**更新者*/
        private String updateBy;
        /**更新时间*/
        @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss",timezone ="GMT+8")
        @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
        private Date updateTime;
        /**备注*/
        private String remark;


}
